package com.his.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.his.entity.dto.MedicalRecord;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface MedicalMapper extends BaseMapper<MedicalRecord> {
    /**
     * 插入中间表
     *
     * @param medicalRecordId
     * @param id
     * @param attackTime
     */
    void insertMiddelTable(@Param("medicalRecordId") Long medicalRecordId,
                           @Param("diseaseId") Long diseaseId,
                           @Param("attackTime") Date attackTime);
}
